//前台页面
import DocumentPage from '@/pages/front/document/index.tsx';
import Assistant from '@/pages/front/assistant/index.tsx';
import Offices from '@/pages/front/offices/index.tsx';
import UserSettings from '@/pages/common/user/index';
import DocArchiveBase from '@/pages/front/docArchive/DocArchiveBase';

// 后台页面
import Dashboard from '@/pages/backhub/dashboard/Dashboard';
import AgentList from '@/pages/backhub/agent/AgentList';
import ModelList from '@/pages/backhub/model/ModelList';
import PromptList from '@/pages/backhub/prompt/PromptList';
import FunctionList from '@/pages/backhub/function/FunctionList';
import FlowPathList from '@/pages/backhub/flowpath/FlowPathList';
import VectorList from '@/pages/backhub/vector/VectorList';
import VectorDetail from '@/pages/backhub/vector/VectorDetail';
import UserList from '@/pages/backhub/common/user/UserList';
import RoleList from '@/pages/backhub/common/role/RoleList';
import MenuList from '@/pages/backhub/common/menu/MenuList';
import DataVisualization from '@/pages/backhub/visualize/DataVisualization';
import PermissionList from '@/pages/backhub/common/permission/PermissionList';
import FileMgrPage from '@/pages/backhub/filemgr/index';
import DirectoryBack from '@/pages/backhub/directory/Directory';

//前台路由
export const routesMain = [
  { path: 'document', element: <DocumentPage /> },
  { path: 'ai-assistant', element: <Assistant /> },
  { path: 'offices', element: <Offices /> },
  { path: 'settings', element: <UserSettings /> },
  { path: 'docArchive', element: <DocArchiveBase /> },
];

// 后台路由
export const routesEngine = [
  { path: 'dashboard', element: <Dashboard /> },
  { path: 'common/user', element: <UserList /> },
  { path: 'common/role', element: <RoleList /> },
  { path: 'common/menu', element: <MenuList /> },
  { path: 'common/permission', element: <PermissionList /> },
  { path: 'model', element: <ModelList /> },
  { path: 'prompt', element: <PromptList /> },
  { path: 'vector', element: <VectorList /> },
  { path: 'vector/:id', element: <VectorDetail /> },
  { path: 'function', element: <FunctionList /> },
  { path: 'agent', element: <AgentList /> },
  { path: 'workflow', element: <FlowPathList /> },
  { path: 'visualize', element: <DataVisualization /> },
  { path: 'filemgr', element: <FileMgrPage /> },
  { path: 'scene', element: <AgentList /> },
  { path: 'directory', element: <DirectoryBack /> },
  { path: 'profile', element: <div>个人信息</div> },
];
